﻿namespace EasyXaf.MongoDB;

[AttributeUsage(AttributeTargets.Property, AllowMultiple = false, Inherited = true)]
public class MongoForeignKeyAttribute : Attribute
{
    public string ForeignKeyName { get; }

    public MongoForeignKeyAttribute(string foreignKeyName)
    {
        ForeignKeyName = foreignKeyName;
    }
}
